<%@ page contentType="text/html;charset=UTF-8" %>
<html>
<head>
    <meta name="layout" content="main"/>
    <title>日报汇总</title>
</head>
<body>

<g:if test="${activities == null}">
  <div class="alert alert-danger">没有活动

      <a class="btn btn-default" href="<g:createLink controller="index" action="index"/>">添加</a>
  </div>
</g:if>

<g:each in="${activities}" var="activity">
    <div class="panel panel-default">
        <div class="panel-heading">
          ${activity.prettyTime}
        </div>
        <div class="panel-body">
           ${activity.content}
        </div>
    </div>

</g:each>



</body>
</html>